Skip to content

can't add related docs in kb edit page #986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LeoMcA opened this issue Jan 5, 2022 · 5 comments
Open

can't add related docs in kb edit page #986

LeoMcA opened this issue Jan 5, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@LeoMcA
Copy link

LeoMcA commented Jan 5, 2022

Uncaught Error: Syntax error, unrecognized expression: [data-pk=]
    jQuery 8
    createResultsList wiki_search.js:26
    jQuery 7
    createResultsList wiki_search.js:21
    showResults wiki_search.js:42
    callback cached_xhr.js:49
    jQuery 6
    request cached_xhr.js:61
    query search_utils.js:73
    searchTimeout wiki_search.js:58
    setTimeout handler*handleSearch wiki_search.js:57
    jQuery 7
    js wiki_search.js:63
    js wiki_search.js:79
    Webpack 7
jquery.js:1496

requires the search results to return an id, which it doesn't

@LeoMcA LeoMcA added the bug Something isn't working label Jan 5, 2022
@AliceWyman
Copy link

Related bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1729134

@emilghittasv
Copy link
Collaborator

Bug fix candidate for current sprint.

@smithellis smithellis self-assigned this Mar 4, 2025
@smithellis smithellis moved this from 🗄 backlog to 🚀 in progress in Mozilla Support Mar 4, 2025
@smithellis
Copy link
Collaborator

mozilla/kitsune#6544

The search results were not returning a pk/id. They are now.

I note in the PR that we should probably convert this to TomSelect or otherwise improve the UI/UX in another ticket.

@smithellis smithellis moved this from 🚀 in progress to 📚 review in Mozilla Support Mar 5, 2025
@akatsoulas akatsoulas moved this from 📚 review to 🔎 QA in Mozilla Support Mar 18, 2025
@emilghittasv
Copy link
Collaborator

I can confirm that related documents can now be successfully added to a particular kb article.

I'm moving this ticket inside the release column.

@emilghittasv emilghittasv moved this from 🔎 QA to 🚢 release in Mozilla Support Mar 18, 2025
@emilghittasv
Copy link
Collaborator

The fix for this issue was reverted in mozilla/kitsune#6602.

Since re-enabling this functionality has yielded a couple of additional tickets( #2258, #2259, #2260 and #2261) that we must address we have decided to revert the fix until we release the user account deletion pipeline work (which is our top priority).

I'm going to move this ticket back inside the our backlog

@emilghittasv emilghittasv moved this from 🚢 release to 🗄 backlog in Mozilla Support Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🗄 backlog
Development

No branches or pull requests

4 participants